//
//  LoginContainerView.h
//  MVCDemo
//
//  Created by Scarecrow on 16/4/16.
//  Copyright © 2016年 XB. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol TheLoginViewDelegate <NSObject>
@required
- (void)forgotPassword:(NSString *)forgotPassword;
- (void)registed:(NSString *)registed;
-(void)userName:(NSString *)userName pwd:(NSString *)password;
@end

@interface TheLoginView :UIView
//@property (nonatomic,copy) void (^loginHandler)(NSString *userName,NSString *password);
@property (assign, nonatomic) id<TheLoginViewDelegate> mDelegate;
@property (nonatomic,strong) UITextField *userNameTextField;
@property (nonatomic,strong) UITextField *passwordTextField;
@end
